/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019.
 * Description: add do_alignment handle exception statement
 * Author: zhangwen
 * Create: 2019-06-11
 */

#ifndef __ARCH_ARM64_ALIGNMENT_H
#define __ARCH_ARM64_ALIGNMENT_H

#ifdef CONFIG_RTOS_HAL_ALIGNMENT_TRAP_AARCH32
int do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
#endif

#endif /* __ARCH_ARM64_ALIGNMENT_H */
